package com.masterclient.app.modules.search.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.search.SearchBrandBean;
import com.masterclient.app.modules.search.SearchShopData;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/6/25 23:50
 * 功能说明：
 */

public interface ShopResultContract {

    interface View extends BaseView {
        public void showSearchBrand(List<SearchBrandBean.DataBean> dataBean);
        public void showSearchShop(SearchShopData data);
        void loadFailed();
    }

    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }
        public abstract void searchShopList(String keyword);
        public abstract void searchShopList(String keyword,String page,String page_size);
    }
}
